<?php
namespace App\Services\Finance;

use App\Services\ProjectValidate;

class ValidateReport extends ProjectValidate
{

    /**
     * 自定义子类初始化
     * @param array $initData
     * @return mixed
     */
    public function initValidate($initData = [])
    {
        // TODO: Implement initValidate() method.
    }

    public $rules = [
        'year'            => 'required',
        'month'            => 'required',
    ];

    public $messages = [

    ];

    /**
     * @var array 上面规则中定义的 key 的名字
     */
    public $attributes = [

    ];
}